package com.example.ying.service;

import com.example.ying.common.R;
import com.example.ying.model.domain.Rate;

public interface RateService {
    R addRate(Rate rate);

    R getRateByMovieId(Integer movieId);

    R getRateByUserIdAndMovieId(String userId, Integer movieId);

    R deleteRate(Integer movieId, String userId);
}
